package cn.liulingfengyu.structuralpattern.compositepattern;

import java.util.List;

/**
 * 组件接口
 */
public interface Component {
    void add(Component component);
    void remove(Component component);
    List<Component> getChildren();
    void operation();
}